import Vue from 'vue'
import Router from 'vue-router'
import Index from '@/components/Index'
import Abouts from '@/components/Abouts'
import News from '@/components/News'
import Cased from '@/components/Cased'
import Invite from '@/components/Invite'
import Offer from '@/components/Offer'
import NewsDetail from '@/components/twos/NewsDetail'
import InviteDetail from '@/components/twos/InviteDetail'
import VideoDetail from '@/components/twos/VideoDetail'

Vue.use(Router)

export default new Router({
  routes: [
    {
        path: '/',
        name: 'Index',
        component: Index
    },{
        path: '/abouts',
        name: 'Abouts',
        component: Abouts
    },{
        path: '/news',
        name: 'News',
        component: News
    },
    {
        path: '/cased',
        name: 'Cased',
        component: Cased
    },{
        path: '/invite',
        name: 'Invite',
        component: Invite
    },{
        path: '/offer',
        name: 'Offer',
        component: Offer
    },{
        path: '/twos/newsdetail',
        name: 'NewsDetail',
        component: NewsDetail
    },{
        path: '/twos/invitedetail',
        name: 'InviteDetail',
        component: InviteDetail
    },{
        path: '/twos/videodetail',
        name: 'VideoDetail',
        component: VideoDetail
    }
  ]
})
